<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>

<h3>${model.team.name}</h3>
<b>Captains:</b>

<input type="hidden" name="teamId" value="${model.team.id}"/>

<br>
Select new captain: <select name="playerId">
<c:forEach items="${model.players}" var="list">
	<option value="${list.id}">${list.firstName} ${list.lastName}</option>
</c:forEach>
</select>
<br/>
<input type="submit" value="Submit">

<br>
